package com.wtao.testcamera;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.widget.ImageView;

public class ResultActivity extends AppCompatActivity {
    ImageView imageView;
    String TAG = "ResultActivity";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_result);
        imageView = findViewById(R.id.image);
        if(getIntent()!=null){
            String path = getIntent().getStringExtra("path");
            if(!TextUtils.isEmpty(path)){
                Log.e(TAG, "path="+path);
            }else{
                Log.e(TAG, "path null");
            }
        }
    }
}